package cn.sangyy.user.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author SangYY
 * @date: 2023/06/02/22:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccountLoginDto {
    @NotBlank(message = "账号不能为空！")
    private String username;
    @NotBlank(message = "密码不能为空！")
    private String password;
    @NotNull(message = "系统异常！")
    private Integer type;
}
